package spec.wangxiuying;

public class Ball  {
    protected String mc;
    protected String dx;
    protected String cz;
    protected String zl;
    protected String shrq;

    final static String kq="打球是一项有氧运动！";
    final static String shape="圆";
    Ball(){}

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getDx() {
        return dx;
    }

    public void setDx(String dx) {
        this.dx = dx;
    }

    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    public String getZl() {
        return zl;
    }

    public void setZl(String zl) {
        this.zl = zl;
    }

    public String getShrq() {
        return shrq;
    }

    public void setShrq(String shrq) {
        this.shrq = shrq;
    }
    public String ziwojieshao(){
        String sumIncome=mc+dx+cz+zl+shrq;
        return sumIncome;
    }
    Ball(String mc,String dx,String cz,String zl,String shrq){
        this.mc=mc;
        this.dx=dx;
        this.cz=cz;
        this.zl=zl;
        this.shrq=shrq;
    }
    public String play(){return"每天打会儿球，健康一辈子";}
}


